package com.auxgroup.hr.front.commons.security;

import org.apache.shiro.authc.AuthenticationInfo;
import org.apache.shiro.authc.AuthenticationToken;
import org.apache.shiro.authc.credential.SimpleCredentialsMatcher;

/**
 * @author ye.meng@ssitsh.com
 *
 * @since 1.0.0 create date 2017年10月16日
 * AuthenticationToken与AuthenticationInfo验证匹配
 */
public class OAuthCredentialsMatcher extends SimpleCredentialsMatcher {

	/**
	 * AuthenticationToken与AuthenticationInfo验证匹配
	 */
    @Override
    public boolean doCredentialsMatch(AuthenticationToken token, AuthenticationInfo info) {
    	return true;
    }
}
